Skip to content

ci: add pull-requests read permission to lint-pr-title workflow#569

Open
kinyoklion wants to merge 1 commit into
mainfrom
devin/1782771931-fix-lint-pr-title-permissions
Open

ci: add pull-requests read permission to lint-pr-title workflow#569
kinyoklion wants to merge 1 commit into
mainfrom
devin/1782771931-fix-lint-pr-title-permissions

Conversation

@kinyoklion

@kinyoklion kinyoklion commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

The reusable lint-pr-title.yml in gh-actions was updated (de4859c) to declare permissions: pull-requests: read at the job level. Without a matching top-level permissions block in the calling workflow, pull_request_target runs hit startup_failure. Adds the missing permissions block, matching other LD repos (e.g. swift-eventsource, go-server-sdk).

Link to Devin session: https://app.devin.ai/sessions/43117682510646828d0bde0908f25835
Requested by: @kinyoklion


Note

Low Risk
CI-only workflow permission and pin update with no application or runtime impact.

Overview
Fixes Lint PR title failing at startup on pull_request_target by adding a workflow-level permissions: pull-requests: read block, aligned with the updated reusable workflow in launchdarkly/gh-actions.

The caller pin is bumped from f1760cc to de4859c, which expects that permission to be declared in the calling repo.

Reviewed by Cursor Bugbot for commit 44a137a. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@kinyoklion kinyoklion self-assigned this Jun 29, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@kinyoklion kinyoklion marked this pull request as ready for review June 29, 2026 22:28
@kinyoklion kinyoklion requested a review from a team as a code owner June 29, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants